package cn.itcast.bos.dao.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import cn.itcast.bos.domain.base.Standard;

public interface StandardRepository extends JpaRepository<Standard, Integer> {
	
	@Query(value="update Standard set minLength=? where id=?")
	@Modifying
	public void updateMinLength(Integer minLength,Integer id);
	
}
